package org.jeecg.modules.bicycle.vehicle.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bike_vehicle
 * @Author: 月月鸟
 * @Date:   2021-05-19
 * @Version: V1.0
 */
@Data
@TableName("bike_vehicle")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="车辆对象", description="车辆对象")
public class BikeVehicle implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;

	/**车辆编号*/
	@Excel(name = "车号*", width = 15 )
    @ApiModelProperty(value = "车辆编号")
    private java.lang.String code;
    /**车辆类别-自行车/电动车*/
    @Excel(name = "类型*(自行车/电动车)", width = 15, dicCode = "bike_type")
    @Dict(dicCode = "bike_type")
    @ApiModelProperty(value = "车辆类别-1自行车/2电动车")
    private java.lang.String type;
    /**出厂日期*/
    @Excel(name = "出厂日期", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出厂日期")
    private java.util.Date leaveTime;
    /**厂家型号*/
    @Excel(name = "厂家型号", width = 15)
    @ApiModelProperty(value = "厂家型号")
    private java.lang.String factoryModel;
    /**剩余电量*/
    @Excel(name = "电量", width = 15)
    @ApiModelProperty(value = "剩余电量")
    private java.lang.String electricKeep;
    /**是否发卡(默认否)*/
    @Excel(name = "是否发卡*(*否/是)", width = 15,dicCode = "yn")
    @ApiModelProperty(value = "是否发卡(默认否)")
    @Dict(dicCode = "yn")
    private String isRegister;
    @Excel(name = "网点编号", width = 15)
    @ApiModelProperty(value = "网点编号")
    @TableField(exist = false)
    private java.lang.String stationCode;
    @Excel(name = "网点名称", width = 15)
    @ApiModelProperty(value = "网点名称")
    @TableField(exist = false)
    private java.lang.String stationName;
    @Excel(name = "车桩", width = 15)
    @ApiModelProperty(value = "所属车桩编码")
    @TableField(exist = false)
    private java.lang.String pileCode;
    @Excel(name = "区域", width = 15)
    @ApiModelProperty(value = "区域名")
    @TableField(exist = false)
    private java.lang.String areaName;
    /**状态(1在桩/2骑行/3入库/4报废)*/
    @Excel(name = "状态*(*在桩/骑行/*入库/报废)", width = 15, dicCode = "bike_status")
    @Dict(dicCode = "bike_status")
    @ApiModelProperty(value = "状态(1在桩/2骑行/3入库/4报废/5故障/6维修)")
    private java.lang.String status;



    /**所属车桩和网点*/
    @ApiModelProperty(value = "所属车桩ID")
    private java.lang.String pileId;





    /**出厂编码*/
    @ApiModelProperty(value = "出厂编码")
    private java.lang.String factoryCode;

    /**总电量*/
    @ApiModelProperty(value = "总电量")
    private java.lang.String electricTol;




    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;

    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;

    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;

    /**备注*/
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;

    /**废弃*/
    @ApiModelProperty(value = "废弃")
    private java.lang.String name;







    @ApiModelProperty(value = "网点Id 搜索条件 拼接")
    @TableField(exist = false)
    private java.lang.String stationId;

    @ApiModelProperty(value = "网点id数组 别管我")
    @TableField(exist = false)
    private List<String> stationArray;

    @ApiModelProperty(value = "是否加密异常")
    @TableField(exist = false)
    private String checkBikeCRC;
}
